package com.xindz.hgq.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xindz.hgq.R;

import java.util.List;

/**
 * @name HGQBase
 * @class name：com.xindz.hgq.title
 * @describe describe
 * @anthor XINDZ
 * @time 2018/1/12 16:06
 * @change
 * @chang time
 * @class describe
 */
public class SimpleAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public SimpleAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_simple, item);
    }
}
